﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Money.Data;

namespace Money.Interfaces
{
    public interface IRefService
    {
        List<Ref> GetRefs();
        Ref GetRefById(int id);
        void CreateRef(Ref item);
        void DeleteRef(int id);
        void UpdateRef(Ref item);
        List<Ref> GetRefs(string orderBy, string orderDirection, int page, int pageSize, out int totalRecords);
        bool CanDelete(int id);
    }
}
